package com.paradogs.framework.annotations;

import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * @author: yumi
 * @date: 2024/10/8  9:50
 * @Description: 注解相关信息持有
 */
public class ParadogsAnnotationsHolder {

    // 服务器路由注册表 [route]method
    public static Map<String, Method> PRHandlerMap = new LinkedHashMap<>();
    // 服务器前置处理注册表 [route]method
    public static Map<String, Method> PRHandlerBeforeMap = new LinkedHashMap<>();
    // 服务器后置处理注册表 [route]method
    public static Map<String, Method> PRHandlerAfterMap = new LinkedHashMap<>();

    // 异常处理注册表 [exception]Method
    public static Map<Class<? extends Throwable>, Method> ExceptionHandlerMap = new HashMap<>();

}
